cmake_minimum_required(VERSION 3.10)

project(insideth)

find_package(PkgConfig REQUIRED)
pkg_check_modules(deps REQUIRED IMPORTED_TARGET glib-2.0)

add_executable(insideth main.c timestamp.c mqtt_task.c log.c)

target_link_libraries(insideth bluetooth mosquitto pthread PkgConfig::deps)
